﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace SmartPhone.Un.Pro.BusinessLogic
{
    public class BaseRepository
    {
       
        /// <summary>
        /// Check object is Null
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public bool IsNull(Object obj)
        {
            if (obj == null)
            {
                return true;
            }
            else
            {
                return false;
            }

        }

        /// <summary>
        /// Check object is not null
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public Boolean IsNotNull(Object obj)
        {
            if (obj != null)
            {
                return true;
            }
            else
            {
                return false;
            }
        }

    }
}
